package com.fuego.creditsystemcommodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.dto.Result;
import org.example.entity.House;


public interface IHouseService extends IService<House> {

    Result queryHouseOfOwner(Long ownerId);

    void addHouseInfo(House house);


    Result queryAllHouse();
    Result queryHouseById(Long houseId);

    Result pageHouse(Integer page, Integer pageSize);

    Result searchHouse(String houseName);

}
